package com.lxy.demo.sec;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

//非核心类 - 安全模块  - B同学
@Component
@Aspect
@Order(1)
public class Security {

    @Before("execution(* com.lxy.demo.manager.CCBManagerImpl.*(..))")
    public void isSecurity(){
        System.out.println("Security...isSecurity()...手机非常安全！");
    }
}
